﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo3
{
    class Circle : Shape
    {
        private double radius;

        public double Radius { get => radius; set => radius = value; }

        public override void GetArea(double radius)
        {


            double sum = 0;
            sum = radius * radius * 3.14;
            Console.WriteLine(sum);
        }
    }
}
